package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.List;
/**
 * 排班列表对象 ha_schedules
 * 
 * @author 鲍小伟
 * @date 2025-11-17
 */
public class HaSchedules extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;

    /** 排班年度 */
    @Excel(name = "排班年度")
    private String workYear;

    /** 排班日期 */
    @Excel(name = "排班日期")
    private String workDate;

    /** 排班班次 */
    @Excel(name = "排班班次")
    private Integer workType;

    /** 排班医生 */
    @Excel(name = "排班医生")
    private String doctorCode;

    /** 院区 */
    @Excel(name = "院区")
    private String hospitalCode;

    /** 排班科室 */
    @Excel(name = "排班科室")
    private Integer kid;

    /** 排班诊室 */
    @Excel(name = "排班诊室")
    private Integer roomNo;

    /** 最多号源 */
    @Excel(name = "最多号源")
    private String maxPatient;

    /** 已约人数 */
    @Excel(name = "已约人数")
    private String bookedNum;

    /** 排班状态 */
    @Excel(name = "排班状态")
    private String workStatus;

    /** 辐射安全活度 */
    @Excel(name = "辐射安全活度")
    private String maxActivityMbq;

    /** 排班人 */
    @Excel(name = "排班人")
    private String suser;

    /* ======== 2. 放开一对多字段 ========== */
    private List<HaDoctors> docList;   // 医生列表

    /* ======== 3. 生成 getter / setter ====== */
    public List<HaDoctors> getDocList() {
        return docList;
    }

    public void setDocList(List<HaDoctors> docList) {
        this.docList = docList;
    }
    //设置诊室列表
    private List<HaConsultingroom> roomList;
    public List<HaConsultingroom> getRoomList() {
        return roomList;
    }
    public void setRoomList(List<HaConsultingroom> roomList) {
        this.roomList = roomList;
    }


    
    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setWorkYear(String workYear) 
    {
        this.workYear = workYear;
    }

    public String getWorkYear() 
    {
        return workYear;
    }

    public void setWorkDate(String workDate) 
    {
        this.workDate = workDate;
    }

    public String getWorkDate() 
    {
        return workDate;
    }

    public void setWorkType(Integer workType)
    {
        this.workType = workType;
    }

    public Integer getWorkType()
    {
        return workType;
    }

    public void setDoctorCode(String doctorCode) 
    {
        this.doctorCode = doctorCode;
    }

    public String getDoctorCode() 
    {
        return doctorCode;
    }

    public void setHospitalCode(String hospitalCode) 
    {
        this.hospitalCode = hospitalCode;
    }

    public String getHospitalCode() 
    {
        return hospitalCode;
    }

    public void setKid(Integer kid) 
    {
        this.kid = kid;
    }

    public Integer getKid() 
    {
        return kid;
    }

    public void setRoomNo(Integer roomNo)
    {
        this.roomNo = roomNo;
    }

    public Integer getRoomNo()
    {
        return roomNo;
    }

    public void setMaxPatient(String maxPatient) 
    {
        this.maxPatient = maxPatient;
    }

    public String getMaxPatient() 
    {
        return maxPatient;
    }

    public void setBookedNum(String bookedNum) 
    {
        this.bookedNum = bookedNum;
    }

    public String getBookedNum() 
    {
        return bookedNum;
    }

    public void setWorkStatus(String workStatus) 
    {
        this.workStatus = workStatus;
    }

    public String getWorkStatus() 
    {
        return workStatus;
    }

    public void setMaxActivityMbq(String maxActivityMbq) 
    {
        this.maxActivityMbq = maxActivityMbq;
    }

    public String getMaxActivityMbq() 
    {
        return maxActivityMbq;
    }

    public void setSuser(String suser) 
    {
        this.suser = suser;
    }

    public String getSuser() 
    {
        return suser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("workYear", getWorkYear())
            .append("workDate", getWorkDate())
            .append("workType", getWorkType())
            .append("doctorCode", getDoctorCode())
            .append("hospitalCode", getHospitalCode())
            .append("kid", getKid())
            .append("roomNo", getRoomNo())
            .append("maxPatient", getMaxPatient())
            .append("bookedNum", getBookedNum())
            .append("workStatus", getWorkStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("maxActivityMbq", getMaxActivityMbq())
            .append("suser", getSuser())
            .append("remark", getRemark())
            .append("docList", getDocList())
            .append("roomList", getRoomList())
            .toString();
    }
}
